<template>
  <el-button class="refresh-btn" @click="refresh">
    <el-icon style="vertical-align: middle" :size="20">
      <Refresh />
    </el-icon>
  </el-button>
</template>

<script lang="ts" setup>
import { defineEmits } from 'vue'

const emits = defineEmits(['refresh'])

const refresh = () => {
  emits('refresh')
}
</script>

<style lang="scss" scoped>
.refresh-btn {
  height: 28px;
  padding: 0 15px;
}
</style>
